﻿using System.Data;
using zijian666.Core.Abstractions;

namespace zijian666.Data
{
    /// <summary>
    /// 数据库查询参数占位符提供程序接口
    /// </summary>
    public interface IDbParamPlaceholderProvider : IFeature
    {
        /// <summary>
        /// 数据库连接类型
        /// </summary>
        string ConnectionTypeName { get; }
        /// <summary>
        /// 生成参数占位符
        /// </summary>
        string GetPlaceholder(IDataParameter parameter);
    }
}
